﻿@model E5_KhuyenMaiVang.Models.ChangePasswordModel
           
@{
    ViewBag.Title = "Change Password";
}

<script src="@Url.Content("~/Scripts/jquery.validate.min.js")" type="text/javascript"></script>
<script src="@Url.Content("~/Scripts/jquery.validate.unobtrusive.min.js")" type="text/javascript"></script>

@using (Html.BeginForm())
{
    @Html.ValidationSummary(true, "Password change was unsuccessful. Please correct the errors and try again.")   
    <div id="random_deal">
        <div class="title-content">
            THAY ĐỔI MẬT KHẨU</div>
        <div class="register">
            <table width="100%" border="0">
                <tr>
                    <td>
                        <small>Mật khẩu cũ</small>
                    </td>
                    <td>
                        <div class="row">
                            @Html.PasswordFor(m => m.OldPassword)
                            @Html.ValidationMessageFor(m => m.OldPassword)
                        </div>
                    </td>
                </tr>
                <tr>
                    <td>
                        <small>Mật khẩu mới</small>
                    </td>
                    <td>
                        <div class="row">
                            @Html.PasswordFor(m => m.NewPassword)
                            @Html.ValidationMessageFor(model => model.NewPassword)
                        </div>
                    </td>
                </tr>
                <tr>
                    <td>
                        <small>Xác nhận mật khẩu</small>
                    </td>
                    <td>
                        <div class="row">
                            @Html.PasswordFor(m => m.ConfirmPassword)
                            @Html.ValidationMessageFor(model => model.ConfirmPassword)
                        </div>
                    </td>
                </tr>
                <tr>
                    <td>
                        <input class="submit-form" name="submit" value="Đổi mật khẩu" type="submit" />
                    </td>
                    <td>
                    </td>
                </tr>
            </table>
        </div>
    </div>
}
 <table width="100%"></table>